{extend name="public/base"/}
{block name="content"}
<section class="content">

        <div class="box box-default">
            <div class="box-header with-border">
                <h3 class="box-title">
                    <a href="{:U('User/group')}" class="btn btn-primary">用户组列表</a>
                </h3>

                <h3 class="box-title">
                    <a href="{:U('User/group_add')}" class="btn btn-primary">添加用户组</a>
                </h3>

                <div class="box-tools pull-right">
                    <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
                    <button class="btn btn-box-tool" data-widget="remove"><i class="fa fa-remove"></i></button>
                </div>
            </div>

            <form action="{:U('User/postdata')}" method="post">
                <input type="hidden" name="id" value="{$_GET['id']}">

                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12">
                            <table class="table table-bordered">
                                <tr>
                                    <th width="140">用户组名:</th>
                                    <td><input class="form-control" type="text" name="title" value="{$info.title}"
                                               size="30"></td>
                                </tr>

                                <tr>
                                    <th width="140">用户组描述:</th>
                                    <td><input class="form-control" type="text" name="description"
                                               value="{$info.description}" size="30"></td>
                                </tr>

                            </table>
                        </div>
                    </div>
                </div>
                <div class="box-footer">
                    <button type="submit" class="btn btn-primary">确认修改</button>
                </div>
            </form>
        </div>
        <!-- /.box -->

    <!-- /.col -->
</section>
{/block}